From 8bd77441a9c04536b7c810afb72dd0d41d234283 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 14 May 2022 07:53:47 -0400 Subject: [PATCH] Cosmetic fixes to objcopy hack Preserve the elf section name that we would get without the objcopy hack. Minimizing the differences --- gtk/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/meson.build b/gtk/meson.build index 3a8457ada7..987835ff9d 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -942,7 +942,8 @@ if not meson.is_cross_build() and build_machine.cpu_family() != 'arm' and build_ output : 'gtkresources_blob2.o', command : [objcopy, '--strip-all', - '--add-symbol','_gtk_resource_data=.data:0', + '--rename-section', '.data=.gresource.gtk', + '--add-symbol','_gtk_resource_data=.gresource.gtk:0', '@INPUT@', '@OUTPUT@']) -- 2.30.2